package com.erp.erp_ui.warehouse.vo;

import java.util.List;

/**
 * @ClassName : ResourceSamplesDetailVo
 * @Description : 资源样品查看详情出参实体
 * @Author : lst
 * @Date: 2020-11-30 23:09
 */
public class ResourceSamplesDetailVo {

    /**
     * 主键id
     */
    private Integer id;
    /**
     * 单号
     */
    private String billNo;
    /**
     * 资源仓库编号
     */
    private String warehouseId;
    /**
     * 资源仓库名称
     */
    private String warehouseName;
    /**
     * 客户编码
     */
    private String customerCode;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 操作人编码
     */
    private String operationNo;
    /**
     * 备注
     */
    private String memo;
    /**
     * 创建时间
     */
    private String createDate;

    /**
     * 业务类型(1:登记 2:领出)
     */
    private Integer type;

    /**
     * 业务类型(1:登记 2:领出)
     */
    private String typeStr;

    /**
     * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
     */
    private Integer status;

    /**
     * 资源样品
     */
    private List<ResourceSamplesProductDetailVo> detailList;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperationNo() {
        return operationNo;
    }

    public void setOperationNo(String operationNo) {
        this.operationNo = operationNo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<ResourceSamplesProductDetailVo> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<ResourceSamplesProductDetailVo> detailList) {
        this.detailList = detailList;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ResourceSamplesDetailVo").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",customerCode=")
                .append(customerCode)
                .append(",customerName=")
                .append(customerName)
                .append(",operator=")
                .append(operator)
                .append(",operationNo=")
                .append(operationNo)
                .append(",memo=")
                .append(memo)
                .append(",createDate=")
                .append(createDate)
                .append(",status=")
                .append(status)
                .append(",detailList=")
                .append(detailList)
                .append(']');
        return sb.toString();
    }
}
